import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('@/views/index')
    },
    {
      path: '/registered',
      name: 'registered',
      component: () => import('@/views/registered'),
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('@/views/login'),
    },
    {
      path: '/fillingRecord',
      name: 'fillingRecord',
      component: () => import('@/views/fillingRecord'),
    },
    {
      path: '/washRecord',
      name: 'washRecord',
      component: () => import('@/views/washRecord'),
    },
    {
      path: '/online',
      name: 'online',
      component: () => import('@/views/online'),
    },
    {
      path: '/infor',
      name: 'infor',
      component: () => import('@/views/infor'),
    },
    {
      path: '/carNumber',
      name: 'carNumber',
      component: () => import('@/views/carNumber'),
    },
    {
      path: '/notLoggedIn',
      name: 'notLoggedIn',
      component: () => import('@/views/notLoggedIn'),
    },
  ]
})
